﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using VNet.VisiSuite.Service.Contact.Enum;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/UserLoginItem")]
    public class UserLoginItem
    {
        [DataMember(IsRequired = true)]
        public int UserLoginId { get; set; }

        [DataMember(IsRequired = true)]
        public string FirstName { get; set; }

        [DataMember(IsRequired = true)]
        public string LastName { get; set; }

        [DataMember(IsRequired = true)]
        public string Email { get; set; }

        [DataMember(IsRequired = true)]
        public string Login { get; set; }

        [DataMember(IsRequired = true)]
        public string Password { get; set; }

        [DataMember(IsRequired = true)]
        public bool Enabled { get; set; }

        [DataMember(IsRequired = true)]
        public string CreatedByUser { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime CreatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public string LastUpdatedByUser { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime LastUpdatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public UserPermission Permission { get; set; }
    }
}
